#define Standby_Variable

#include "userDef.h"

#ifdef LOW_POWER
void StandbyAct(void)
{
    if (b_power.set == OFF && b_power.run == OFF && f_Power == 0)
    {
        if (e_fanStep.run == FANSTOP && ver_Step.SwNow == 0 && e_horSw.run > SW_NORM)
        {
            f_Standby = 1;
        }
    }
    else
    {
        f_Standby = 0;
    }

    // IO_P0D5W = ~f_Standby;
    if (~f_Standby)
    {
        IO_P0D5W_ON;
    }
    else
    {
        IO_P0D5W_OFF;
    }
}
#endif
